package com.ruoyi.intelligence.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户会话消息历史业务对象 b_user_ask_msg
 *
 * @author ruoyi
 * @date 2023-11-28
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class UserAskMsgBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 消息
     */
    @NotBlank(message = "消息不能为空", groups = { AddGroup.class, EditGroup.class })
    private String msg;

    /**
     * 提问：question  回答：answer
     */
    @NotBlank(message = "提问：question  回答：answer不能为空", groups = { AddGroup.class, EditGroup.class })
    private String msgType;

    /**
     * 消息类型
     */
    @NotBlank(message = "消息类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private String channel;


}
